package com.weilive.api;

import com.weilive.core.protocol.PacketError;

public class ServerErrors {
	// 常用错误提示
	public static final PacketError PARAM_INVALID = new PacketError(100, "Invalid param!");
	// 平台登陆验证
	public static final PacketError PLATFORM_INVALID_TOKEN = new PacketError(2001, "Invalid token!");
	public static final PacketError PLATFORM_USER_NOT_EXIST = new PacketError(2002, "User not exists!");
	// 用户检测
	public static final PacketError USER_NOT_LOGIN = new PacketError(2010, "用户未登陆!");

	// 用户检测
	public static final PacketError BLACK_NOT_UPDATE = new PacketError(2051, "黑名单无须更新!");

	// 用户检测
	public static final PacketError USER_PROFILE_ERROR_LEN = new PacketError(2052, "用户简介长度不合法!");
	public static final PacketError USER_ALIAS_ERROR_LEN = new PacketError(2053, "用户名长度不合法!");
	public static final PacketError USER_ALIAS_INVALID = new PacketError(2054, "用户名不合法!");
	public static final PacketError USER_ALIAS_EXISTS = new PacketError(2055, "用户名已存在!");
	public static final PacketError USER_PROFILE_INVALID = new PacketError(2055, "用户简介不合法!");
	public static final PacketError USER_NAME_OR_PROFILE_INVALID = new PacketError(2056, "用户名字或者用户简介不合法!");
}
